package com.xh.jf_blog.mapper;

import com.xh.jf_blog.bean.Token;

public interface TokenMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Token record);

    int insertSelective(Token record);

    Token selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Token record);

    int updateByPrimaryKey(Token record);

    Token getByUserinfoId(int userinfoId);

    Token getByToken(String token);
}
